//
//  CalendarCollectionViewCell.m
//  CalenderViewDemo
//
//  Created by rimi on 16/6/27.
//  Copyright © 2016年 -------mhch-------. All rights reserved.
//

#import "CalendarCollectionViewCell.h"

@implementation CalendarCollectionViewCell

- (instancetype)init
{
    self = [super init];
    if (self) {
        [self initializeUserInterfac];
    }
    return self;
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self initializeUserInterfac];
    }
    return self;
}

-(void)initializeDataSourc/**< 初始化数据源 */{
}
-(void)initializeUserInterfac/**< 初始化用户界面 */{
    [self.contentView addSubview:self.daylable];

}

//- (void)setCellImageName:(NSString *)cellImageName{
//    self.choisImageView = [[UIImageView alloc]initWithFrame:CGRectMake(Size_W(0), Size_H(0),Size_W(25), Size_H(25))];
//    self.choisImageView.center = self.contentView.center;
//        self.choisImageView.backgroundColor = ColorWith(170, 170, 170);
//    self.choisImageView.image = [UIImage imageNamed:[NSString stringWithFormat:@"%@",cellImageName]];
//    [self.contentView addSubview:self.choisImageView];
//}

-(UILabel_Font *)daylable{
    if (!_daylable) {
        _daylable = [[UILabel_Font alloc]initWithFrame:self.bounds];
        _daylable.textAlignment = NSTextAlignmentCenter;
    }
    return _daylable;
}




@end
